package MydbQA::Command::Help;

use strict;
use warnings;
use base 'MydbQA::Command::Base';

sub init {}

sub run {
	my $self = shift;
	my $help = qq[
This is help for mydbqa version $self->{_version}

	Available commands:
		ooe     - Create queries with different tables order
		indexes - Show data on available indexes
		tables  - Show data on tables used in query
		columns - Columns analyzation
		analyze - Run all the above 
	Parametrs:
		user    - database username 
		pass    - database password
		host    - database host
		port    - database port
		socket  - mysql socket
		db      - database name
		query   - query to analyze
		html    - output as html
		output  - report folder
	Usage example:
		mydbqa analyze --user=user --pass=password --db=mydb_name
			       output=rep_folder --html query.sql
	Limitations:
		There is a lot of unimplemented sql structures
		USING , IN , BETWEEN , Complex functions , Subqueries
		
Enjoy!
];

    print $help;
}







1;
